Package edu.uky.ai.ml.nn
Class Edge
java.lang.Object
edu.uky.ai.ml.nn.Edge
public class Edge
extends java.lang.Object
Edges in a neural network are roughly equivalent to dendrites in a
biological neuron. An edge goes from a parent neuron to a child neuron
and has a weight that scales the parent's value when sending it to the
child.
- Author:
- Stephen G. Ware
-
Field Details
-
Constructor Details
-
Edge
Constructs a new edge in the network. This edge will automatically be added to the parent list of the child and the child list of the parent.- Parameters:
parent- the parent (sender) neuronrandom- a random number generator for choosing the initial weightchild- the child (receiver) neuron
-